
#ifndef _OLED_12832_H_
#define _OLED_12832_H_

#include <cs_types.h>

#include "oled_fonts.h"

enum {
    kSizeASC5X7,     // ASCII 5X17
    kSizeASC8X16,    // ASCII 8X16
    kSizeASC16X16,   // ASCII 16X16
    kSizeHzk12X16,   // Hzk   12X16
    kSizeHzk16X16,   // Hzk   16X16
};

void Oled_Init(void);
void Oled_On(void);
void Oled_Off(void);
void Oled_Clear(void);
void Oled_SetPosition(uint8_t page, uint8_t seg);

void Oled_ShowAsciiSize6X8(uint8_t page, uint8_t seg, char AChar);
void Oled_ShowAsciiSize8X16(uint8_t page, uint8_t seg, char AChar);

void Oled_ShowIcon16X16(uint8_t page, uint8_t seg, const uint8_t *AData);

void Oled_ShowString8X16(uint8_t page, uint8_t seg, const uint8_t* AData);

#endif /* _OLED_12832_H_ */
